<table>
<tr>
    <td><?php echo __('Template') ?></td>
    <td>
        <select id="email_template_category">
            <option id="thankyou"><?php echo __('Thank you for reservation') ?></option>
            <option id="changed"><?php echo __('You changed your reservation') ?></option>
            <option id="cancelled"><?php echo __('You cancelled your reservation') ?></option>
        </select>
    </td>
</tr>
<tr>
	<td><?php echo __('Subject') ?></td>
    <td>
        <input type="text" id="email_temaplate_subject" size="98"/>
    </td>
</tr>
<tr>
	<td><?php echo __('Message') ?>
    <td>
        <textarea id="email_temaplate_body" style="height: 400px;"></textarea>
    </td>
</tr>
<tr class="ui-widget-header ui-corner-all yvo-hw100">
    <td colspan="2"><span ><?php echo __('Available placeholders') ?></span></td>
</tr>
<tr>
	<td colspan="2">
        <table>
            <tr>
                <td width="200">##salutation##</td>
                <td width="200">##reservation_time_date##</td>
                <td width="200">##remark##</td>
                <td width="200">##deep_link_reservation##</td>
            </tr>
            
            
        </table>
    </td>
</tr>

<?php 
	// TODO : Set the right placeholders in the list after Util.class is updated. ?>

<!-- tr>
    <td colspan="2">
        <table>
            <tr>
                <td width="200">##time##</td>
                <td width="200">##salutation##</td>
                <td width="200">##tel##</td>
                <td width="200">##deep_link_reservation##</td>
            </tr>
            <tr>
            	
            	<td>##date##</td>
                <td>##fist name##</td>
                <td>##telmob##</td>
                <td>##reservation_time_date##</td>
                
            </tr>
            <tr>
            	<td>##person no##</td>
                <td>##last name##</td>                
            	<td>##email##</td>
            </tr>
            <tr>
            	<td>##day##</td>
            	<td>##company name##</td>
            </tr>
        </table>
    </td>
</tr -->
</table>

<div class="yvo-buttons" style="display: inline-block;">
	<div type="button" id="save_template" class="ui-button ui-widget ui-state-active ui-corner-all ui-button-text-only ui-button-text">
		<span class="ui-button-text">
			<?php echo __('Save template') ?>
		</span>
	</div>
</div>

